package com.mcf.xiaolinju.vo;

import java.time.LocalDateTime;

public class DynamicbasicVO {
    /**
     * 主键
     */
    private Integer id;

    /**
     * 动态内容
     */
    private String content;

    /**
     * 0:(未删除)1:(删除)2:(审核中)3:(未通过)
     */
    private Integer state;

    /**
     * 创建者的id
     */
    private Integer createid;

    /**
     * 创建时间
     */
    private LocalDateTime createtime;

    /**
     * 审核人的id
     */
    private String auditid;

    /**
     * 审核时间
     */
    private LocalDateTime audittime;

    /**
     * 图片的路径
     */
    private String pictureurl;
    /**
     * 社区id
     */
    private Integer communityid;
    /**
     * 点赞数
     */
    private int  praisecount;
    /**
     * 评论总数
     */
    private Integer reviewcount;
    /**
     * 创建的用户名
     */
    private String username;
    /**
     * 创建的头像
     */
    private String portrait;
    /**
     * 点赞与否
     */
    private int  tagstate;
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getCreateid() {
        return createid;
    }

    public void setCreateid(Integer createid) {
        this.createid = createid;
    }

    public LocalDateTime getCreatetime() {
        return createtime;
    }

    public void setCreatetime(LocalDateTime createtime) {
        this.createtime = createtime;
    }

    public String getAuditid() {
        return auditid;
    }

    public void setAuditid(String auditid) {
        this.auditid = auditid;
    }

    public LocalDateTime getAudittime() {
        return audittime;
    }

    public void setAudittime(LocalDateTime audittime) {
        this.audittime = audittime;
    }

    public String getPictureurl() {
        return pictureurl;
    }

    public void setPictureurl(String pictureurl) {
        this.pictureurl = pictureurl;
    }

    public Integer getCommunityid() {
        return communityid;
    }

    public void setCommunityid(Integer communityid) {
        this.communityid = communityid;
    }

    public int getPraisecount() {
        return praisecount;
    }

    public void setPraisecount(int praisecount) {
        this.praisecount = praisecount;
    }

    public Integer getReviewcount() {
        return reviewcount;
    }

    public void setReviewcount(Integer reviewcount) {
        this.reviewcount = reviewcount;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public int getTagstate() {
        return tagstate;
    }

    public void setTagstate(int tagstate) {
        this.tagstate = tagstate;
    }

    public String getPortrait() {
        return portrait;
    }

    public void setPortrait(String portrait) {
        this.portrait = portrait;
    }

    @Override
    public String toString() {
        return "DynamicbasicVO{" +
                "id=" + id +
                ", content='" + content + '\'' +
                ", state=" + state +
                ", createid=" + createid +
                ", createtime=" + createtime +
                ", auditid='" + auditid + '\'' +
                ", audittime=" + audittime +
                ", pictureurl='" + pictureurl + '\'' +
                ", communityid=" + communityid +
                ", praisecount=" + praisecount +
                ", reviewcount=" + reviewcount +
                ", username='" + username + '\'' +
                ", portrait='" + portrait + '\'' +
                ", tagstate=" + tagstate +
                '}';
    }
}
